<template>
	<view class="p-28" v-html="votesInfo.vote_content">
	</view>
</template>

<script setup>
	import {
		useThreadInfo
	} from '@/hooks'
	const {
		getThreadInfo,
	} = useThreadInfo()
	const votesInfo = ref()
	// 获取活动详情
	const getThreadInfoFun = async () => {
		const res = await getThreadInfo()
		votesInfo.value = res.votesInfo
	}
	onShow(() => {
		getThreadInfoFun()
	})
</script>